package com.zyh.service;

import com.zyh.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("user-server")
public interface FeignUserService {
    @GetMapping("/user-module/user/{id}")
    User selectById(@PathVariable("id") Integer id);
}
